home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19941221-19950208 / 000020_news@columbia.edu_Sat Dec 24 18:05:45 1994.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23596
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sat, 24 Dec 1994 13:05:50 -0500
  3. Received: by apakabar.cc.columbia.edu id AA29696
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sat, 24 Dec 1994 13:05:48 -0500
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Window resizes in OS/2
  9. Date: 24 Dec 1994 18:05:45 GMT
  10. Organization: Columbia University
  11. Lines: 52
  12. Distribution: na
  13. Message-Id: <3dhntp$svt@apakabar.cc.columbia.edu>
  14. References: <3dhn29$b2u@news1.shell>
  15. Nntp-Posting-Host: watsun.cc.columbia.edu
  16. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  17.  
  18. In article <3dhn29$b2u@news1.shell>, Seeker <cliff@shell.portal.com> wrote:
  19. >I run OS/2 ckermit(190) in a 33x80 window.  When I connect to VMS, I
  20. >execute the following command to get VMS to recognize the larger window:
  21. >$ set term/pag=32/wid=80
  22. >I include the width since the width is sometimes improperly set to 132
  23. >when I access VMS from a Unix box via telnet rather than dialing
  24. >directly.  This works fine when entered manually, so I decided to write a
  25. >simple script to automate it.  In the script I have the following two
  26. >lines:
  27. >output set term/pag=32/wid=80\13
  28. >in 5 $
  29.  
  30. >Whenever I execute these two lines, the OS/2 window is resized to 25x80
  31. >with VMS now believing I have a 32x80 screen.  I can reproduce the
  32. >problem by executing those two lines directly from the command line.  I
  33. >can fix the window by adding a "!mode 80,33" command, but it is annoying
  34. >to have to do so.  Interestingly, if I omit the "/wid=80" in the output
  35. >command, no resizing occurs.  Is it supposed to work this way?
  36. I am not totally sure this is the answer, but...
  37.  
  38. In version 5A(190) and earlier, the same screen size is used by both the
  39. C-Kermit command parser and the terminal emulation window (in future
  40. releases, the sizes will be independent).  When the command parser is
  41. active, so is the ANSI console driver.
  42.  
  43. I suspect that when you tell VMS to:
  44.  
  45.   set term/pag=32/wid=80
  46.  
  47. this causes VMS to send an escape sequence to the terminal.  You can
  48. confirm this via LOG SESSION or by putting C-Kermit's terminal emulator in
  49. debug mode (with Alt-d).
  50.  
  51. If you have SET INPUT ECHO ON in C-Kermit, then your INPUT command:
  52.  
  53.   in 5 $
  54.  
  55. will read characters sent by the host and echo them to the screen, i.e. to
  56. the ANSI console driver.  This means that any escape sequences sent by the
  57. host are likely to have unexpected effects since ANSI != VTxxx.  In this
  58. case, the console driver evidently recognized what it though was a video-
  59. mode change command, and so changed its video mode, which affects both
  60. the command screen and the terminal screen.
  61.  
  62. Solution:  Tell C-Kermit to SET INPUT ECHO OFF.
  63.  
  64. - Frank